<!DOCTYPE html>
<html>
<head>
	<title>E8NET</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <include file="./App/Admin/View/Include/css.html" />
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/compiled/tables.css" type="text/css" media="screen" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

    <include file="./App/Admin/View/Include/navbar.html" />
    <include file="./App/Admin/View/Include/menu.html" />


	<!-- main container -->
    <div class="content">

        <div class="container-fluid">
            <div id="pad-wrapper">

                <!-- orders table -->
                <div class="table-wrapper orders-table section">
                    <div class="row-fluid head">
                        <div class="span12">
                            <h4>专业管理</h4>
                        </div>
                    </div>

                    <div class="row-fluid filter-block">
                        <div class="pull-right">
                            <a href="{:U('Profession/add')}" class="btn-flat success new-product">+ 添加专业</a>
                        </div>
                    </div>

                    <div class="row-fluid">
                        <table class="table table-hover">
                            <thead>
                            <tr>
                                <th class="span2">
                                    专业ID
                                </th>
                                <th class="span3">
                                    <span class="line"></span>
                                    专业名称
                                </th>
                                <th class="span3">
                                    <span class="line"></span>
                                    所属院系
                                </th>
                                <th class="span5">
                                    <span class="line"></span>
                                    专业描述
                                </th>
                                <th class="span2 align-right">
                                    <span class="line"></span>ACTION
                                </th>
                            </tr>
                            </thead>
                            <tbody>
                            <!-- row -->
                            <volist name="professionList" id="profession">
                                <tr>
                                    <td>{$profession.id}</td>
                                    <td>{$profession.name}</td>
                                    <td>{$Think.session.admin.department_name}</td>
                                    <td>{$profession.description}</td>
                                    <td class="align-right">
                                        <a href="{:U('Profession/edit',array('id'=>$profession['id']))}">Edit</a>&nbsp;
                                        <a href="javascript:void(0);" onclick="return delConfirm('__APP__/Profession/del/id/{$profession.id}','专业删除后将导致所属班级不可用')">Delete</a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- end orders table -->

            </div>
        </div>
    </div>
    <!-- end main container -->

	<include file="./App/Admin/View/Include/js.html" />

    <script>
    </script>

</body>
</html>